projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c6225
)
(Funencodable_char_position): Set pend correctly.
author
Kenichi Handa
<handa@m17n.org>
Fri, 13 Dec 2002 02:35:51 +0000
(
02:35
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 13 Dec 2002 02:35:51 +0000
(
02:35
+0000)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index fcb1d630cdbab449b95c98bb5c2c55c56953b8bf..577a1b446917765972caa154bca2068babf8b0d5 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-6569,7
+6569,10
@@
to the string. */)
if (NILP (current_buffer->enable_multibyte_characters))
return Qnil;
p = CHAR_POS_ADDR (from);
- pend = CHAR_POS_ADDR (to);
+ if (to == GPT)
+ pend = GPT_ADDR;
+ else
+ pend = CHAR_POS_ADDR (to);
}
else
{